package cn.quang.search.admin.mapper;

import cn.quang.search.admin.entity.po.SearchScene;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author:  Entity Generator
 * @since:  2024-02-28 11:20:54
 */
public interface SearchSceneMapper extends BaseMapper<SearchScene> {

    @Select(
            " SELECT * FROM search_scene WHERE `code` = #{sceneCode} "
    )
    SearchScene selectBySceneCode(String sceneCode);
}
